package cn.outsourcing.supermarket.mapper;

import cn.outsourcing.supermarket.dto.GoodsListSearchDTO;
import cn.outsourcing.supermarket.po.HiolabsGoods;
import cn.outsourcing.supermarket.provider.GoodsProvider;
import cn.outsourcing.supermarket.vo.hiolabs.HiolabsGoodsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author gzkemays
 * @since 2021-10-14
 */
@Mapper
public interface HiolabsGoodsMapper extends BaseMapper<HiolabsGoods> {
  @SelectProvider(value = GoodsProvider.class, method = "getGoodsList")
  List<HiolabsGoodsVO> getGoodsList(@Param("entity") GoodsListSearchDTO entity);
}
